current_column: Now returns EMACS_INT, fixing some iftc.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 10:27:06 +0000 (02:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 10:27:06 +0000 (02:27 -0800)
commit1679cb60fbb7c01754d5705214a2ecdb648fdc0d
tree5566233a9c43f782b72b7651028ae122a1f9d552
parent2174af9e45895041c829fd0c2b9f5d278853a7fd
current_column: Now returns EMACS_INT, fixing some iftc.

* bytecode.c (Fbyte_code): Don't cast current_column () to int.
* cmds.c (internal_self_insert): Likewise.
* indent.c (Fcurrent_column): Likewise.
* keymap.c (describe_command): Likewise.
* minibuf.c (read_minibuf): Likewise.
* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
to int.
* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
Likewise.
* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
not int or double, if they might contain a column number.
* indent.c (current_column, Findent_to, indented_beyond_p):
(compute_motion, vmotion): Likewise.
* keymap.c (describe_command): Likewise.
* xdisp.c (pint2str): Likewise.
* indent.c (last_known_column): Now EMACS_INT, not int.
* minibuf.c (minibuf_prompt_width): Likewise.
* indent.c (current_column, current_column_1, position_indentation):
Return EMACS_INT, not double.
* lisp.h (current_column): Likewise.
* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
All callers changed.
* lisp.h (indented_beyond_p): Likewise.
src/ChangeLog
src/bytecode.c
src/cmds.c
src/indent.c
src/keymap.c
src/lisp.h
src/minibuf.c
src/xdisp.c